package customer.core.ctrl;

import src.util.Message;
import src.util.MessageCfg;
import src.util.ServerIo;

public class RomsControlIo extends ServerIo{

	/**
	 * This method will take in input the rom name
	 * and will associate it to a whitelist game serverside
	 * @return String the formatted rom name
	 */
	public String translateRomName(String romNameParts)
	{
		new Message( new MessageCfg( true, false));
		message = new Message( "/romTranslator", String.class);
		message.addParam("romTags", romNameParts);		
		
		sendReceive( );
		
		return message.getStatusInfo();
	}
	
}
